﻿using BootstrapBlazor.Components;
using SqlSugar;

namespace HelloApp.Server.Data
{
    public class MattressConfig
    {
        [SugarColumn(IsPrimaryKey = true)]
        [AutoGenerateColumn(IsVisibleWhenAdd =false,IsVisibleWhenEdit =false,Visible =false)]
        public Guid Id { get; set; }=Guid.NewGuid();

        [AutoGenerateColumn(Text = "防滑底/米")]
        public float FangHua { get; set; } = 10f;

        [AutoGenerateColumn(Text = "内套/米")]
        public float NeiTao { get; set; } = 5f;

        [AutoGenerateColumn(Text = "损耗 %")]
        public float SunHao { get; set; } = 5f;

        [AutoGenerateColumn(Text = "牛皮纸包装/元")]
        public float NiuPi { get; set; } = 30f;

        [AutoGenerateColumn(Text = "纸箱包装/元")]
        public float ZhiXiang { get; set; } = 45f;

        [AutoGenerateColumn(Text = "胶水/元")]
        public float JiaoShui { get; set; } = 10f;

        [AutoGenerateColumn(Text = "拉链 / 元")]
        public float LaLian { get; set; } = 5f;

        [AutoGenerateColumn(Text = "标 / 元")]
        public float Biao { get; set; } = 3f;

        [AutoGenerateColumn(Text = "边际贡献 %")]
        public float Bianji { get; set; } = 45f;

        [AutoGenerateColumn(Text = "税率 %")]
        public float Shui { get; set; } = 13f;

        [AutoGenerateColumn(Text = "人工 元")]
        public float RenGong { get; set; } = 100f;

        [AutoGenerateColumn(Text = "零售价系数")]
        public float LingShou { get; set; } = 3f;
    }
}
